//
//  FlutterServiceProtocol.swift
//  
//
//  Created by tank on 2021/10/10.
//

import Foundation
import UIKit

public protocol FlutterServiceProtocol: AnyObject {
    
    typealias RouteCompletion = RouterServiceProtocol.RouteCompletion
    
    func pageController(page: Any) -> UIViewController?
    
    func invokeMethod(channel: String, name: String, param: Any?)
    
    func handle(url: String, params: [String : Any]?, completion: RouteCompletion?)
}
